import type { UserInfo } from "@/types/user"
import { request } from '@/utils/request'

export const getUserInfoAPI = () => {
  return request<UserInfo>('/v1_0/user/profile')
}
